package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springblade.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("lndx_file")
public class LndxFile implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String filehost;
    private String filedic;
    private String filepath;
    private String filename;

    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    private Date ctime;

}
